package cn.swust.designpatternlearningplatform.dao;

import cn.swust.designpatternlearningplatform.domain.entity.TopicWrongRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TopicWrongDao {
    /**
     * 查询错题及其学生对应的做题记录
     *
     * @param studentNumber
     * @param pointId
     * @return java.util.List<cn.swust.designpatternlearningplatform.domain.entity.TopicWrongRecord>
     * @author Tang
     * @date 2023/10/10 10:53
     **/
    List<TopicWrongRecord> selectTopicWrongRecordByPoint(@Param("studentNumber") String studentNumber,
                                                         @Param("pointId") Integer pointId,
                                                         @Param("current") Integer current,
                                                         @Param("size") Integer size);
}
